home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2000 #5
/
Amiga Plus CD - 2000 - No. 5.iso
/
Tools
/
Misc
/
InstallerNG
/
developer
/
gui
/
example
/
igui_TRAP_Mode.c
< prev
next >
Wrap
C/C++ Source or Header
|
1999-10-28
|
1KB
|
57 lines
#include "includes.h"
#include "installergui_data.h"
/********************************************************************
*
* DESCRIPTION
*
* with a call to this function, the InstallerNG informs the GUI
* that it now starts or ends the interpretation of several TRAP
* statements. as shown in the igui_WaitApp() function, the GUI
* has to distinguish between normal mode, SWING mode and TRAP
* mode
*
* IN: application - pointer to the private application structure
* mode - TRUE or FALSE, depends on whether the InstallerNG
* enters (TRUE) or exits (FALSE) the TRAP mode
*
* OUT: the mode argument itself
*
*/
/********************************************************************
*
* STATIC
*
*/
/********************************************************************
*
* EXTERN
*
*/
/********************************************************************
*
* PUBLIC
*
*/
/********************************************************************
*
* CODE
*
*/
BOOL __asm igui_TRAP_Mode(register __a0 APTR application,
register __d0 BOOL mode)
{
#ifdef DEBUG
DEBUG_MAKRO
#endif
((struct Application *) application)->app_TRAP_Mode = mode;
return (mode);
}